package kr.pe.mybjj;

public class QnADTO {
	int no;
	String title;
	String content;
	String userName;
	String password;
	String createdate;
	
	public QnADTO() {
	}
	
	public QnADTO(String title, String content, String userName, String password)
	{
		this.title = title;
		this.content = content;
		this.userName = userName;
		this.password = password;
	}
	
	public QnADTO(int no, String title, String content, String userName, String password, String createdate)
	{
		this.no = no;
		this.title = title;
		this.content = content;
		this.userName = userName;
		this.password = password;
		this.createdate = createdate;
	}
	
	public int getno()
	{
		return no;
	}
	
	public String getcreatedate()
	{
		return createdate;
	}
	
	public String gettitle() {
		return title;
	}

	public void settitle(String title) {
		this.title = title;
	}

	public String getcontent() {
		return content;
	}

	public void setcontent(String content) {
		this.content = content;
	}

	public String getuserName() {
		return userName;
	}

	public void setuserName(String userName) {
		this.userName = userName;
	}

	public String getpassword() {
		return password;
	}

	public void setpassword(String password) {
		this.password = password;
	}
}
